package cn.usian.service;

import cn.usian.common.R;
import cn.usian.pojo.Category;

import java.util.List;

public interface CategoryService {

    R findPage(Integer page, Integer pageSize);

    R add(Category category);

    R updateAll(Category category);

    R deleteById(Long id);

    List<Category> findAll();

    R findAllById(Integer type);
}
